﻿using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Scorpicore.Models
{
    public class ApplicationUser : User
    {
        public string AvatarUrl { get; set; }

        [Display(Name="Банкноти")]
        public virtual ICollection<Banknote> Banknotes { get; set; }

        [Display(Name = "Следи")]
        public virtual ICollection<Track> Tracks { get; set; }

        public ApplicationUser()
            : base()
        {
            this.Banknotes = new HashSet<Banknote>();
            this.Tracks = new HashSet<Track>();
        }
    }
}
